package com.guan.system.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.guan.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName tb_exam_question
 */
@TableName(value ="tb_exam_question")
@Data
public class ExamQuestion extends BaseEntity implements Serializable {
    /**
     * 竞赛题目关系id（主键）
     */
    @TableId(value = "EXAM_QUESTION_ID", type = IdType.ASSIGN_ID)
    private Long examQuestionId;

    /**
     * 题目id（主键）
     */
    private Long questionId;

    /**
     * 竞赛id（主键）
     */
    private Long examId;

    /**
     * 题目顺序
     */
    private Integer questionOrder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
